package com.zb.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.zb.dao.ProviderDAO;
import com.zb.entity.Provider;
import com.zb.service.ProviderService;

@Service
public class ProviderServiceImpl implements ProviderService{

	@Autowired
	private ProviderDAO providerDAO;
	

	@Transactional(readOnly = true)
	public List<Provider> listProviders() {
		return providerDAO.listProviders();
	}
	
	
	
}
